<table style="width:100%;" cellspacing="0">
    <tr>
        <td>
        	{messages}
            <table cellspacing="0" width="100%" class="forumline">
            <tr>
            	<td class="row-header" colspan="2"><span><a href="{url link='admin.sections.classifieds'}">{language text="classifieds"}</a></span></td>
            </tr>
            <tr>
            	<td class="catBottom" colspan="2">
            		<form method="post" action="{url link='admin.sections.classifieds' act='create'}">

            		{language text="create_new_category"}: <input type="text" size="40" name="name" />
            		<input type="submit" value="Go" />
            		</form>
            	</td>
            </tr>
            <tr>
            	<th style="width:80%;font-size:9pt;">
            		<span>{language text="categories"}</span>
            	</th><th style="width:20%;text-align:center;font-size:9pt;">

            		<span>{language text="actions"}</span>
            	</th>
            </tr>
            	{foreach from=$aList item=aItem}
            	<tr>
            		<td style="width:80%;font-size:9pt;" class="row1">
            			<form method="post" action="{url link='admin.sections.classifieds'}" style="margin:0px;">
                			<input type="hidden" name="act" value="update" size="30" />
                			<input type="hidden" name="id" value="{$aItem.id}" size="30" />
                			<input type="text" name="name" value="{language translate=$aItem.name}" size="50" />
                			<input type="submit" value="{language text='Mod_Listing.edit'}" />
            			</form>
            		</td>
            		<td style="width:20%;font-size:9pt;" class="row1">
        				<a class="link_action" href="{url link='admin.sections.classifieds' act='delete' id=$aItem.id}" onclick="if(!sure()) return false;">[ {language text="delete"} ]</a>
        				<a class="link_action" href="{url link='admin.language.add-phrase' translate=$aItem.name|base64}">[ {language text='Mod_Language.translate'} ]</a>
            		</td>
            	</tr>
            	{/foreach}
            </table>
            <br /><br />
        </td>
    </tr>
</table>